#ifndef PACKET_RECV_H
#define PACKET_RECV_H

#include <sys/socket.h>
#include <pcap.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>

extern void packet_recv_loop(int s,struct sockaddr_in addr,void (*process)(u_char *args,const struct pcap_pkthdr *header,const u_char *packet));

#endif
